package com.ctshk.rpc.air.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * @BelongsProject: ctshk-cloud
 * @BelongsPackage: com.ctshk.rpc.air.dto
 * @Author: hef
 * @CreateTime: 2021-05-20 15:42
 * @Description: 描述
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class AirProductSaleRecordDTO implements Serializable {
    @ApiModelProperty(value = "产品id")
    private Long productId;

    @ApiModelProperty(value = "订单id")
    private Long orderId;

    @ApiModelProperty(value = "售卖日期")
    private LocalDate salesDate;

    @ApiModelProperty(value = "已售数量")
    private Integer soldNumber;

    @ApiModelProperty(value = "1:自营 2:代理商 3:官方渠道 4:第三方")
    private Integer channel;

    @ApiModelProperty(value = "自定Id")
    private Long customId;

    @ApiModelProperty(value = "自定义名称")
    private String customName;
}
